macro_rules! create_function {
    ($func_name:ident) => {
        fn $func_name() {
            println!("func {:?} is called.", stringify!($func_name));
        }
    };
}

create_function!(autogen_foo);
#[test]
fn macro_test1() {
    autogen_foo();
}
